﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace sync_test {
    public static class SyncSettings {
        // Chanan
        public static string DestConnectionString_XX = @"data source=.\SQLEXPRESS;Initial Catalog=SyncDest;persist security info=True;Integrated Security=SSPI";
        public static string SrcConnectionString_XX = @"data source=.\SQLEXPRESS;Initial Catalog=SyncSource;persist security info=True;Integrated Security=SSPI";

        public static string DestConnectionString { 
            get { return ConfigurationManager.AppSettings["DestConnectionString"]; } 
        }

        public static string SrcConnectionString {
            get { return ConfigurationManager.AppSettings["SrcConnectionString"]; }
        }

        //public static string DestConnectionString = "Data Source=vm-sql01; Initial Catalog=BackOffice_prod; User Id=Backoffice-adm-prod; Password=bo235%adm-prod";
        //public static string SrcConnectionString = "data source=PLOPP;persist security info=True;user id=JFH_BO;password=JFH_BO";
    }
}
